package com.mastermind.totalexpenditure;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;

import com.google.analytics.tracking.android.EasyTracker;

public class TempActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		EasyTracker.getInstance().setContext(this);
		EasyTracker.getTracker().sendEvent("View Configuration", "Click detail", "configuration", Long.valueOf(1));// <--- Send an event when button clicked or anything else
	}
	@Override
	protected void onStop() {
		// TODO Auto-generated method stub
		super.onStop();
		EasyTracker.getInstance().activityStop(this);
	}
	@Override
	protected void onStart() {
		// TODO Auto-generated method stub
		super.onStart();
		EasyTracker.getTracker().sendView("Template Activity");
	}
	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}

}
